Skip to main content

iphoneStopTrackingHeading

Type

command

Summary

Stops tracking the heading of the device.

Syntax

iphoneStopTrackingHeading

Description

Use the iphoneStopTrackingHeading command to stop tracking the current heading of the device.

The iphoneStopTrackingHeading command stops tracking the heading of the device using the digital compass.

note

The digital compass is only supported in iOS 4.0 and later.

Examples

iphoneStopTrackingHeading
if tTrackingOn is "false" then
iphoneStopTrackingHeading
end if

command: iphoneSetHeadingCalibrationTimeout, iphoneStartTrackingHeading

function: mobileCanTrackHeading, mobileCanTrackLocation, mobileCurrentHeading, iphoneHeadingCalibrationTimeout

message: trackingError, headingChanged

Compatibility and Support

Introduced

LiveCode 4.6.1

OS

ios

Platforms

mobile

Thank you for your feedback!

Was this page helpful?